$OpenBSD: patch-libtemplate_util_log_c,v 1.1 2016/03/18 16:41:53 naddy Exp $
--- libtemplate/util/log.c.orig	Thu Nov 21 03:28:52 1996
+++ libtemplate/util/log.c	Thu Mar 17 22:51:35 2016
@@ -50,6 +50,7 @@ static char rcsid[] = "$Id: log.c,v 1.15 1995/02/04 01
  *    copyright, including distribution and use limitations.
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <errno.h>
